<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of LoginPage
 *
 * @author julien
 */
require_once 'Classes/View/DefaultHTMLPage.php';
class LoginPage extends DefaultHTMLPage{
    
    private $loginForm;
    
    public function __construct(){
        parent::__construct("Login");
        $this->loginForm = new LoginForm();
        $this->loginForm->setMessage("You have to login to continue.");
        $this->addContent($this->loginForm);
        
    }
    
    public function setAuthenticationFailed(){
        $this->loginForm->setMessage("Authentication Failed. Please try again.");
    }
    
    
}

?>
